package com.work.example.demo5.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.work.example.demo5.domain.CategoryEntity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CategoryMapper extends BaseMapper<CategoryEntity> {


    int getcategoryId(String name);

    int removecategory(Long id);

    int updatecategory(CategoryEntity categoryEntity);
}
